Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular standalone sample updates #7547

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Conversation

Eugeno
Copy link

@Eugeno Eugeno commented Jan 31, 2025

This PR:

  • Removes unused CommonModule
  • Uses styleUrl instead of styleUrls
  • Uses inject for DI
  • Uses takeUntilDestroyed instead of Subject/OnDestroy approach
  • Fixes indents

There is a typing issue, which is now solved by a generic in the following line:

private msalGuardConfig = inject<MsalGuardConfiguration>(MSAL_GUARD_CONFIG);

I found a fix in the next PR: #7484
After its merge, the generic can be removed:

private msalGuardConfig = inject(MSAL_GUARD_CONFIG);

@github-actions github-actions bot added the samples Related to the samples apps for the library. label Jan 31, 2025
@Eugeno
Copy link
Author

Eugeno commented Jan 31, 2025

@microsoft-github-policy-service agree

Copy link
Contributor

Reminder: This PR appears to be stale. If this PR is still a work in progress please mark as draft.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Attention 👋 Awaiting response from the MSAL.js team label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Attention 👋 Awaiting response from the MSAL.js team samples Related to the samples apps for the library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant